// 导入二次封装axios
import koi from "@/utils/axios.ts";


export const listPage = (data: any) => koi.get("/admin/system/attachment/list", data);
export const remove = (id: any) => koi.post("/admin/system/attachment/remove", {id});

export const update = (data: any) => koi.post("/admin/system/attachment/update", data);
export const add = (data: any) => koi.post("/admin/system/attachment/add", data);
